package com.dragon.modules.yuegou.excel.coupon;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\coupon\\receiveData.xlsx")
public class ReceiveDataWorkbook {
	@ExcelSheet
	@JsonProperty("优惠劵数据")
	private List<CouponRow> coupon;

	public static class CouponRow {

		/** 优惠券名称 */
		@JsonProperty("优惠券名称")
		private String title;
		
		/** 劵状态 */
		@JsonProperty("劵状态")
		private String used;
		
		/** 手机号码 */
		@JsonProperty("手机号码")
		private String mobile;
		
		/** 领取优惠金额 */
		@JsonProperty("领取优惠金额")
		private String reductionMount;
		
		/** 使用优惠金额 */
		@JsonProperty("使用优惠金额")
		private String useReductionMount;
		
		/** 领取时间 */
		@JsonProperty("领取时间")
		private String createdTime;
		
		/** 使用时间 */
		@JsonProperty("使用时间")
		private String useTime;

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getUsed() {
			return used;
		}

		public void setUsed(String used) {
			this.used = used;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getReductionMount() {
			return reductionMount;
		}

		public void setReductionMount(String reductionMount) {
			this.reductionMount = reductionMount;
		}

		public String getUseReductionMount() {
			return useReductionMount;
		}

		public void setUseReductionMount(String useReductionMount) {
			this.useReductionMount = useReductionMount;
		}

		public String getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(String createdTime) {
			this.createdTime = createdTime;
		}

		public String getUseTime() {
			return useTime;
		}

		public void setUseTime(String useTime) {
			this.useTime = useTime;
		}
		
	}

	public List<CouponRow> getCoupon() {
		return coupon;
	}

	public void setCoupon(List<CouponRow> coupon) {
		this.coupon = coupon;
	}

}
